#ifndef QFINDBAR_H
#define QFINDBAR_H

#include "../lib/corelib/styledbar.h"
#include <QWidget>

namespace Ui {
    class QFindBar;
}

class FancyLineEdit;

class QFindBar : public StyledBar
{
    Q_OBJECT

public:
    explicit QFindBar(QWidget *parent = 0);
    ~QFindBar();

private:
    Ui::QFindBar *ui;
signals:
    void    search(const QString text,bool sensitive,bool whole);
    void    gotoNext();
    void    gotoPrev();
    void    clear();
protected:
    FancyLineEdit   *m_lineEdit;
private slots:
    void on_toolButton_3_clicked();
    void on_toolButton_clicked();
    void on_toolButton_2_clicked();
    void on_toolButton_4_clicked();
};

#endif // QFINDBAR_H
